package edu.suda.xsap.mapper;
import edu.suda.xsap.entity.ConsumeRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ConsumeRecordMapper {

    void save(ConsumeRecord consumeRecord);
    ConsumeRecord findById(Integer id);
    void update(ConsumeRecord consumeRecord);
    List<ConsumeRecord> findAll();


}
